package com.yidu.BusinessData.service;

import com.yidu.BusinessData.entity.Broker;
import com.yidu.BusinessData.entity.Exchange;
import com.yidu.TAManagement.entity.TABusiness;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public interface ExchangeServce {
        //查询条数的方法
        public int selectCount();
        //查询券商的方法
        public List<Exchange> selectExchange(Exchange exchange, int page, int limit);

        //判断数据库是否存在
        public int selectExchangeFlag(Exchange exchange);

        //增加数据的方法
        public int insertExchange(Exchange exchange);
        //删除数据的方法
        public int deleteExchange(Exchange exchange);

        public int updateExchange(Exchange exchange);
}
